<!DOCTYPE html>
<html>
<head lang="cn">
<meta charset="UTF-8">
<title>后台管理</title>
<meta
	content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'
	name='viewport'>
<#include "../../common/resources/resources-admin-lte-css.ftl">

</head>
<body>
	<#--修改站点--> <#--
	<div class="modal fade in" id="editModal">
		-->
		<div class="modal-dialog modal-lg">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title">修改</h4>
				</div>
				<form class="form-horizontal" action="${ctx}/admin/site/edit-by-id">
					<input type="hidden" name="id" value="${site.id}" />
					<div class="modal-body">
						<legend>基本设置</legend>
						<div class="form-group">
							<label for="name" class="col-sm-2 control-label">站点名称</label>
							<div class="col-sm-10">
								<input type="text" name="name" class="form-control" id="name"
									value="${site.name}">
							</div>
						</div>
						<div class="form-group">
							<label for="dir" class="col-sm-2 control-label">目录</label>

							<div class="col-sm-10">
								<input type="text" name="dir" class="form-control" id="dir"
									value="${site.dir}">
							</div>
						</div>

						<div class="form-group">
							<label for="domain" class="col-sm-2 control-label">域名</label>

							<div class="col-sm-10">
								<input type="text" name="domain" class="form-control"
									id="domain" value="${site.domain}">
							</div>
						</div>
						<legend>SEO设置</legend>
						<div class="form-group">
							<label for="title" class="col-sm-2 control-label">站点标题</label>

							<div class="col-sm-10">
								<input type="text" name="title" class="form-control" id="title"
									value="${site.title}">
							</div>
						</div>

						<div class="form-group">
							<label for="keyword" class="col-sm-2 control-label">关键词</label>

							<div class="col-sm-10">
								<input type="text" name="keyword" class="form-control"
									id="keyword" value="${site.keyword}">
							</div>
						</div>

						<div class="form-group">
							<label for="description" class="col-sm-2 control-label">站点描述</label>

							<div class="col-sm-10">
								<input type="text" name="description" class="form-control"
									id="description"${site.description}>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<button type="button" class="btn btn-default" data-dismiss="modal">
							取消</button>
						<button type="submit" class="btn btn-primary">确定</button>
					</div>
				</form>
			</div>
			<#-- /.modal-content -->
		</div>
		<#-- /.modal-dialog --> <#--
	</div>
	--> <#--/.modal --> <#--修改站点结束--> <#include
	"../../common/resources/resources-admin-lte-js.ftl">

</body>
</html>